//设置一级路由
export default [
    {
        path: '/shouye',
        name: 'shouye',
        component: () => import('../views/ShouYe.vue')
    },
    {
        path:'/eatwhat',
        name:'eatwhat',
        component:()=>import('../views/EatWhat.vue')
    },
    {
        path:'/car',
        name:'car',
        component:()=>import('../views/Car.vue')
    },
    {
        path:'/wode',
        name:'wode',
        component:()=>import('../views/WoDe.vue')
    },
    {
        path:'/xiaozhen',
        name:'xiaozhen',
        component:()=>import('../views/XiaoZhen.vue')
    },
    //设置路由重定向
    {
        path:'/',
        redirect:'/shouye'
    },
    //设置通配符
    {
        path:'*',
        component:()=>import('../views/NotFound.vue')
    }
]